🌻 Showing group data as custom link labels on the map with optional significance test

Custom Links Label can use any field that exists in the current links table.

That includes:

That’s what Custom Links Label does: it configures the map’s Link Labels to show a compact summary per connection.

What is being summarised?#

The map groups links into bundles by cause→effect.  

For each bundle (say Education → Employment) Custom Links Label looks at the links inside that bundle and summarises the selected field.

Common choices:

Counts: Sources vs Citations#

Before choosing a display mode, decide what a “count” means:

If some sources produce many more links than others, Sources is usually the more interpretable option.

Display modes#

Assume you pick field = custom_tribeId (or custom_gender) and Counts = Sources.

Tally#

Shows counts per value in the bundle.

Example label on an edge:

Interpretation: 4 sources from tribe T1 and 1 source from tribe T2 contain at least one link in this cause→effect bundle.

International development-style example:

Example using an existing source custom column (Counts = Sources):

Percentage#

For each value, shows:

[

\text{percent} = \frac{\text{count of this value in this bundle}}{\text{total count of this value across all currently filtered links}} \times 100

]

Example label:

Interpretation: 18% of T1’s total (source-based) participation in the current filtered map appears in this one bundle.

This is a “share of that group’s activity” view.

Chi‑square (significance)#

Where:

International development-style example (Counts = Sources):

A worked mini-example (Sources)#

Suppose in your current filtered map:

Expected T1 in bundle = \(45 × 5 / 50 = 4.5\).   Observed (4) is slightly below expected, so it would not show as over‑represented.

If instead observed were 5 with the same totals, it would skew upward and might appear as T1⬆ depending on the chi‑square contribution.

## How to use (quick)

  1. Add Custom Links Label to the filter pipeline
  2. Pick Field (e.g. custom_tribeId)
  3. Pick Counts (Sources/Citations)
  4. Pick Display mode
  5. In Map Formatting → Link Labels, select Custom Links label

That’s it: the map labels update immediately as you tweak the settings.